{% extends "base_generic.html" %}
{% block content %}
        <h1>KeyWords</h1>
        <h2><a href="/admin/kws//new/" class="add">New keyword</a></h2>

        <table class="imgswithoutborders">
        {% for kw in kws %}
          <tr>
            <td>{{ kw.word }} <span style="color: #ccc">{{ kw.slug }}</span></td>
            <td><a href="/admin/kws/{{ kw.key }}/edit/">Edit</a></td>
            <td><a href="/admin/kws/{{ kw.key }}/delete/" onclick="if(confirm('¿Do you really want to delete {{ kw.word }}?')){return true;}else{return false;}">Delete</a></td>
          </tr>
        {% endfor %}
        </table>

{% endblock %}
